package com.gserver.commons.resource;

import java.util.Collection;
import java.util.List;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Multimap;

public interface IResource {
	public abstract <T> T get(Object obj, Class<T> class1);

	public abstract <T> List<T> getList(Object obj, Class<T> class1);

	public abstract <T> Collection<T> getList(Class<T> clazz);

	public abstract <T> ImmutableList<T> getLists(Class<T> class1);

	public abstract <K, T> Multimap<K, T> getResourcs();

	public abstract <K, T> ImmutableMap<K, T> getMap(Class<T> class1);
}
